package cn.pn.project.mapper.comment;

import cn.pn.project.common.Page;
import cn.pn.project.pojo.comment.Comment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;
@Mapper
public interface FindMapper {
    /**
     * 查询发现信息
     * @return
     */
    @Select("select * from comment  where fatherId=0 AND `status`=1 order by commentTime desc")
    List<Comment> listFind()throws Exception;
}
